package com.dfrz.household.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dfrz.household.bean.Server;

import java.util.List;
import java.util.Map;

public interface ServerMapper extends BaseMapper <Server> {
    int deleteByPrimaryKey(Integer id);

    Server getserverById(Integer id);

    Server getserverByTypeId(Integer id);

    List <Server> getAllServers();

    List <Server> getAllServerByType();

    Map <String, Server> getAllServer();


}